'Declaration
Public Function Intersect( _ ByVal value As Range(Of T) _ ) As Range(Of T)
Parameters
- value
- The range to intersect with.
Return Value
A range that contains the values that are common in both ranges, or null if there is no intersection.
value
.'Declaration
Public Function Intersect( _ ByVal value As Range(Of T) _ ) As Range(Of T)
Exception | Description |
---|---|
System.ArgumentNullException | value is null. |
System.ArgumentException | value does not overlap the range. |